import { styled } from 'linaria/react'

import { View } from '@tarojs/components'

const IndexWrap = styled(View) `
  height: 100%;
  
  .map-wrap {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .map {
    flex: 1;
  }

  .map-wrap #map {
    width: 100%;
    height: 100%;
  }

  .map-wrap #map .cover-image {
    width: 70rpx;
    height: 70rpx;
    position: absolute;
    bottom: 40rpx;
    left: 30rpx;
  }


  .map-wrap .nav {
    height: 88rpx;
    background-color: #52b9d2;
    display: flex;
  }

  .map-wrap .nav > view {
    flex: 1;
    text-align: center;
    line-height: 88rpx;
    color: #fff;
  }

  .map-wrap .nav > view:first-child {
    background-color: #f29a38;
  }
`

export {
  IndexWrap
}